package com.zhonghan.recharge.service.impl;
import java.util.List;
import com.zhonghan.recharge.dao.WechatUserDao;
import com.zhonghan.recharge.pojo.WechatUser;
import com.zhonghan.recharge.service.WechatUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class WechatUserServiceImpl implements WechatUserService{
    @Autowired
    private WechatUserDao wechatUserDao;
    @Override
    public long getWechatUserRowCount(){
        return wechatUserDao.getWechatUserRowCount();
    }
    @Override
    public List<WechatUser> selectWechatUser(){
        return wechatUserDao.selectWechatUser();
    }
    @Override
    public List<WechatUser> selectWechatUserByObj(WechatUser obj){
        return wechatUserDao.selectWechatUserByObj(obj);
    }
    @Override
    public WechatUser selectWechatUserById(Integer id){
        return wechatUserDao.selectWechatUserById(id);
    }
    @Override
    public int insertWechatUser(WechatUser value){
        return wechatUserDao.insertWechatUser(value);
    }
    @Override
    public int insertNonEmptyWechatUser(WechatUser value){
        return wechatUserDao.insertNonEmptyWechatUser(value);
    }
    @Override
    public int insertWechatUserByBatch(List<WechatUser> value){
        return wechatUserDao.insertWechatUserByBatch(value);
    }
    @Override
    public int deleteWechatUserById(Integer id){
        return wechatUserDao.deleteWechatUserById(id);
    }
    @Override
    public int updateWechatUserById(WechatUser enti){
        return wechatUserDao.updateWechatUserById(enti);
    }
    @Override
    public int updateNonEmptyWechatUserById(WechatUser enti){
        return wechatUserDao.updateNonEmptyWechatUserById(enti);
    }

    public WechatUserDao getWechatUserDao() {
        return this.wechatUserDao;
    }

    public void setWechatUserDao(WechatUserDao wechatUserDao) {
        this.wechatUserDao = wechatUserDao;
    }

}